package com.song.base.exception;

public class HeaderException extends RuntimeException{
    private static final long serialVersionUID = 1L;

    private Integer code;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

    public HeaderException() {}

    public HeaderException(String msg, Integer code) {
        super(msg);
        this.code = code;
    }

    public HeaderException(String msg) {
        super(msg);
    }
}
